package com.inviteOrder.state;

/**
 * @author 大忽悠
 * @create 2022/10/17 11:07
 */
public class RewardingSuccess implements RewardState {
    /**
     * 按照当前状态执行
     *
     * @param rewardStateContext 返奖状态上下文
     * @param request            请求对象
     */
    @Override
    public void doReward(RewardStateContext rewardStateContext, Request request) {
        System.out.println("返奖成功");
    }

    @Override
    public Boolean getResultFlag() {
        return Boolean.TRUE;
    }
}
